package tech.swh.ssm.entity;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;

public class Version{

	private BigInteger id;
	private BigInteger appId;			//appId（来源于：app_info表的主键id）
	private String versionNo;			//版本号
	private String versionInfo;			//版本介绍
	private BigInteger publishStatus;	//发布状态（来源于：data_dictionary，1 不发布 2 已发布 3 预发布）
	private String downloadLink;		//下载链接
	private BigDecimal versionSize;		//版本大小（单位：M）
	private BigInteger createdBy;		//创建者（来源于dev_user开发者信息表的用户id）
	private Timestamp creationDate;		//创建时间
	private BigInteger modifyBy;		//更新者（来源于dev_user开发者信息表的用户id）
	private Timestamp modifyDate;		//最新更新时间
	private String apkLocPath;			//apk文件的服务器存储路径
	private String apkFileName;			//上传的apk文件名称
	
	@Override
	public String toString() {
		return "Version [id=" + id + ", appId=" + appId + ", versionNo=" + versionNo + ", versionInfo=" + versionInfo
				+ ", publishStatus=" + publishStatus + ", downloadLink=" + downloadLink + ", versionSize=" + versionSize
				+ ", createdBy=" + createdBy + ", creationDate=" + creationDate + ", modifyBy=" + modifyBy
				+ ", modifyDate=" + modifyDate + ", apkLocPath=" + apkLocPath + ", apkFileName=" + apkFileName + "]";
	}
	public Version() {
		super();
	}
	public Version(BigInteger id, BigInteger appId, String versionNo, String versionInfo, BigInteger publishStatus,
			String downloadLink, BigDecimal versionSize, BigInteger createdBy, Timestamp creationDate,
			BigInteger modifyBy, Timestamp modifyDate, String apkLocPath, String apkFileName) {
		super();
		this.id = id;
		this.appId = appId;
		this.versionNo = versionNo;
		this.versionInfo = versionInfo;
		this.publishStatus = publishStatus;
		this.downloadLink = downloadLink;
		this.versionSize = versionSize;
		this.createdBy = createdBy;
		this.creationDate = creationDate;
		this.modifyBy = modifyBy;
		this.modifyDate = modifyDate;
		this.apkLocPath = apkLocPath;
		this.apkFileName = apkFileName;
	}
	public BigInteger getId() {
		return id;
	}
	public void setId(BigInteger id) {
		this.id = id;
	}
	public BigInteger getAppId() {
		return appId;
	}
	public void setAppId(BigInteger appId) {
		this.appId = appId;
	}
	public String getVersionNo() {
		return versionNo;
	}
	public void setVersionNo(String versionNo) {
		this.versionNo = versionNo;
	}
	public String getVersionInfo() {
		return versionInfo;
	}
	public void setVersionInfo(String versionInfo) {
		this.versionInfo = versionInfo;
	}
	public BigInteger getPublishStatus() {
		return publishStatus;
	}
	public void setPublishStatus(BigInteger publishStatus) {
		this.publishStatus = publishStatus;
	}
	public String getDownloadLink() {
		return downloadLink;
	}
	public void setDownloadLink(String downloadLink) {
		this.downloadLink = downloadLink;
	}
	public BigDecimal getVersionSize() {
		return versionSize;
	}
	public void setVersionSize(BigDecimal versionSize) {
		this.versionSize = versionSize;
	}
	public BigInteger getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(BigInteger createdBy) {
		this.createdBy = createdBy;
	}
	public Timestamp getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Timestamp creationDate) {
		this.creationDate = creationDate;
	}
	public BigInteger getModifyBy() {
		return modifyBy;
	}
	public void setModifyBy(BigInteger modifyBy) {
		this.modifyBy = modifyBy;
	}
	public Timestamp getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}
	public String getApkLocPath() {
		return apkLocPath;
	}
	public void setApkLocPath(String apkLocPath) {
		this.apkLocPath = apkLocPath;
	}
	public String getApkFileName() {
		return apkFileName;
	}
	public void setApkFileName(String apkFileName) {
		this.apkFileName = apkFileName;
	}
	
}
